Creation information for a blend state. More...
#include <kanzi/gfx/create_info.hpp>
Classes | |
| struct | RenderTargetBlendInfo |
| Describes the per-attachment blend information. More... | |
Public Types | |
| using | HandleType |
| Blend state handle. | |
Public Attributes | |
| bool | alphaToCoverageEnabled |
| Indicates whether alpha to coverage is enabled. | |
| vector< RenderTargetBlendInfo > | attachmentBlendModes |
| The blend information for each color attachment. | |
| ColorRGBA | blendConstant |
| The color channel values for constant blending factors. | |
Public Attributes inherited from kanzi::gfx::BaseCreateInfo | |
| string_view | name |
| The name of the graphics object, useful for debugging. | |
Creation information for a blend state.
Blend state handle.
| bool kanzi::gfx::BlendStateCreateInfo::alphaToCoverageEnabled |
Indicates whether alpha to coverage is enabled.
| ColorRGBA kanzi::gfx::BlendStateCreateInfo::blendConstant |
The color channel values for constant blending factors.
| vector<RenderTargetBlendInfo> kanzi::gfx::BlendStateCreateInfo::attachmentBlendModes |
The blend information for each color attachment.
The last blend information is repeated when there are more color attachments than provided blend information.